<%@page pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="/bootstrap/css/bootstrap.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="/jquery/jquery-2.1.1.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="/bootstrap/js/bootstrap.js"></script>
</head>

<style>
    .ha{
        border-radius: 25px;/*圆角*/
        opacity: 0.95 ;/*透明度*/
        text-align: center;
        height: 350px;
        width: 350px;
        color: black;
        background-color: whitesmoke;

        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }

    body{
        width: 1920px;
        height: 900px;
        background:url(../../static/image2.jpg);
        background-size: 1920px 1080px;
    }



</style>

<body >
<nav class="navbar navbar-default">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">China Telecom</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <form class="navbar-form navbar-left">
                <div class="form-group">
                    <input type="text" class="form-control" placeholder="请输入您要办理的业务">
                </div>
                <button type="submit" class="btn btn-default">查询</button>
            </form>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#">Link</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">关于系统<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="https://gitee.com/fanggaolei/ct-fang-project/tree/master">项目源码</a></li>
                        <li><a href="https://gitee.com/fanggaolei/ct-fang-project/tree/master">项目文档</a></li>
                    </ul>
                </li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>


<div class="ha">
    <form>
        <br>
        <br>
        <h4>查询入口</h4>
        <br>
        <br>
        <div class="input-group col-md-8 col-md-offset-2">
            <span class="input-group-addon" >电话号码</span>
            <input type="text"  id="tel" class="form-control" placeholder="请输入电话号码" aria-describedby="basic-addon1">
        </div>
        <br>
        <br>
        <div class="input-group col-md-8 col-md-offset-2">
            <span class="input-group-addon" >查询时间</span>
            <input type="text"  id="calltime" class="form-control" placeholder="请输入查询时间" aria-describedby="basic-addon1">
        </div>
        <br>
        <br>
        <button type="button" class="btn btn-default btn-lg" onclick="queryData()">查询</button>
    </form>
</div>

<script>
    // 声明方法
    function queryData() {
        window.location.href = "/view?tel=" + $("#tel").val() + "&calltime="+$("#calltime").val();
    }
</script>

</body>
</html>